package com.xxin.pojo.entity;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
    @author 小欣
    @version 1.0
    @since 1.8
*/

/**
 * 病人表
 */
public class Patient implements Serializable {
	private Long id;
	
	/**
	 * 病人姓名
	 */
	private String name;
	
	/**
	 * 出生日期
	 */
	private LocalDate birthday;
	
	/**
	 * 性别 1-->女性，2-->男性
	 */
	private Integer sex;
	
	/**
	 * 家庭住址
	 */
	private String address;
	
	/**
	 * 联系方式
	 */
	private String phone;
	
	/**
	 * 身份证号
	 */
	private String idCard;
	
	/**
	 * 是否有医保卡 1-->没有，2-->有
	 */
	private Integer isMedicare;
	
	/**
	 * 医保卡号
	 */
	private String idMedicare;
	
	/**
	 * 创建时间
	 */
	private LocalDateTime createdTime;
	
	/**
	 * 修改时间
	 */
	private LocalDateTime updatedTime;
	
	private static final long serialVersionUID = 1L;
	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public LocalDate getBirthday() {
		return birthday;
	}
	
	public void setBirthday(LocalDate birthday) {
		this.birthday = birthday;
	}
	
	public Integer getSex() {
		return sex;
	}
	
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	
	public String getAddress() {
		return address;
	}
	
	public void setAddress(String address) {
		this.address = address;
	}
	
	public String getPhone() {
		return phone;
	}
	
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	public String getIdCard() {
		return idCard;
	}
	
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	
	public Integer getIsMedicare() {
		return isMedicare;
	}
	
	public void setIsMedicare(Integer isMedicare) {
		this.isMedicare = isMedicare;
	}
	
	public String getIdMedicare() {
		return idMedicare;
	}
	
	public void setIdMedicare(String idMedicare) {
		this.idMedicare = idMedicare;
	}
	
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
	
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}
	
	public LocalDateTime getUpdatedTime() {
		return updatedTime;
	}
	
	public void setUpdatedTime(LocalDateTime updatedTime) {
		this.updatedTime = updatedTime;
	}
}